package com.atzzy.ysmall.ysmall_allService.orderService;

import com.atzzy.ysmall.ysmall_beans.Orders;
import com.atzzy.ysmall.ysmall_common.vo.R;

import java.sql.SQLException;
import java.util.Map;

/**
 * @Author JAVAZeng
 * @Date 2022/4/5 22:00
 * @Version 1.0
 */
public interface OrderService {
    public Map<String,String> addOrder(String cids, Orders orders) throws SQLException;

    public int updateOrderStatus(String orderId,String status);

    public R getOrderById(String orderId);

public R listOrders(String userId,String status,int pageNum,int limit);
}
